package com.telit.firecommand.entity;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 视频监控
 *
 * @author yuezhuang
 * @date 2022-09-24
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "FireCamera", description = "视频监控")
public class FireCamera implements Serializable {

    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "监控半径")
    private BigDecimal cameraRadius;

    @ApiModelProperty(value = "是否有效 1-有效 0-删除")
    private Integer isDelete;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "更新时间")
    private String updateTime;

    @ApiModelProperty(value = "监控类型 1防火 2卡口 同 cameraType")
    private Integer type;

    @ApiModelProperty(value = "更新人id")
    private Integer updateId;

    @ApiModelProperty(value = "所属行政区划")
    private String areaCode;

    @ApiModelProperty(value = "塔高")
    private BigDecimal towerHeight;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "创建人")
    private Integer createId;

    @ApiModelProperty(value = "是否在线 1在线 2离线")
    private Integer online;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "是否云台控制 1-是 2-否")
    private Integer isControl;

    @ApiModelProperty(value = "地址")
    private String placeName;

    @ApiModelProperty(value = "视频监控名称")
    @JsonProperty(value = "name")
    private String cameraName;

    @ApiModelProperty(value = "监控类型 1防火 2卡口 同 type")
    private Integer cameraType;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "1-防火监控  2-卡口监控")
    private Integer equipmentType;

    @ApiModelProperty(value = "1-可见光  2-热成像")
    private Integer frameType;

    @ApiModelProperty(value = "字段内容和id相同")
    private String code;

    @ApiModelProperty(value = "实时播放流")
    private String previewUrl;

}
